package com.west_traveler.entity.entity_editor;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Description: 精品听单听单信息实体类
 * Date:2016年12月07日10:55
 *
 * @author: 刘悦.
 */

public class SpecialInfo implements Parcelable {

    private int specialId;
    private int contentType;
    private String coverPathBig;
    private String intro;
    private String title;
    private int uid;
    private String nickname;
    private String smallLogo;
    private String personalSignature;

    public SpecialInfo() {
    }

    public SpecialInfo(int specialId, int contentType, String coverPathBig, String intro, String title, int uid, String nickname, String smallLogo, String personalSignature) {

        this.specialId = specialId;
        this.contentType = contentType;
        this.coverPathBig = coverPathBig;
        this.intro = intro;
        this.title = title;
        this.uid = uid;
        this.nickname = nickname;
        this.smallLogo = smallLogo;
        this.personalSignature = personalSignature;
    }

    protected SpecialInfo(Parcel in) {
        specialId = in.readInt();
        contentType = in.readInt();
        coverPathBig = in.readString();
        intro = in.readString();
        title = in.readString();
        uid = in.readInt();
        nickname = in.readString();
        smallLogo = in.readString();
        personalSignature = in.readString();
    }

    public int getSpecialId() {

        return specialId;
    }

    public void setSpecialId(int specialId) {
        this.specialId = specialId;
    }

    public int getContentType() {
        return contentType;
    }

    public void setContentType(int contentType) {
        this.contentType = contentType;
    }

    public String getCoverPathBig() {
        return coverPathBig;
    }

    public void setCoverPathBig(String coverPathBig) {
        this.coverPathBig = coverPathBig;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSmallLogo() {
        return smallLogo;
    }

    public void setSmallLogo(String smallLogo) {
        this.smallLogo = smallLogo;
    }

    public String getPersonalSignature() {
        return personalSignature;
    }

    public void setPersonalSignature(String personalSignature) {
        this.personalSignature = personalSignature;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(specialId);
        parcel.writeInt(contentType);
        parcel.writeString(coverPathBig);
        parcel.writeString(intro);
        parcel.writeString(title);
        parcel.writeInt(uid);
        parcel.writeString(nickname);
        parcel.writeString(smallLogo);
        parcel.writeString(personalSignature);
    }

    public static final Creator<SpecialInfo> CREATOR = new Creator<SpecialInfo>() {
        @Override
        public SpecialInfo createFromParcel(Parcel in) {
            return new SpecialInfo(in);
        }

        @Override
        public SpecialInfo[] newArray(int size) {
            return new SpecialInfo[size];
        }
    };
}
